package cn.com.roy.thread.t3_1_3.test5;


public class ThreadC extends Thread {
    private Object lock ;
    public ThreadC(Object lock){
        this.lock = lock;
    }

    @Override
    public void run() {
        super.run();
        MyService service = new MyService();
        service.testMethod(lock);
    }
}
